﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Messaging.Messages;

namespace Messaging.Services
{
    public interface IMailService
    {
        void Send<TMessage>(TMessage message, string to) where TMessage : Message;
        void Send<TMessage>(TMessage message, IEnumerable<string> to) where TMessage : Message;
    }
}